-
Notifications
You must be signed in to change notification settings - Fork 5.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ddl, parser, executor, ddl worker: admin pause and resume ddl jobs #43674
ddl, parser, executor, ddl worker: admin pause and resume ddl jobs #43674
Conversation
[REVIEW NOTIFICATION] This pull request has been approved by:
To complete the pull request process, please ask the reviewers in the list to review by filling The full list of commands accepted by this bot can be found here. Reviewer can indicate their review by submitting an approval review. |
Hi @dhysum. Thanks for your PR. I'm waiting for a pingcap member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/ok-to-test |
e3b9c4f
to
ffe84e5
Compare
/retest-required |
4c44fa3
to
ac78fc1
Compare
/retest |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
/merge |
This pull request has been accepted and is ready to merge. Commit hash: 69a13e24b4e5d3addf30d5b5a77f00e6b104d4b1
|
/retest |
69a13e2
to
f606c0b
Compare
/merge |
This pull request has been accepted and is ready to merge. Commit hash: f606c0b
|
/retest |
What problem does this PR solve?
Issue Number: close #18015 #40041
Related issue number: #39751 #43061
Problem Summary:
admin pause ddl jobs 3,5;
admin resume ddl jobs 3,5;
pause an running DDL; and resume the paused DDL.
What is changed and how it works?
Once received the
admin pause
request, it will mark the Job as pausing, then the background worker will turn the DDL job to be paused and mark it asnot processing
. While, theadmin resume
is the contrary way.cherry-pick from :
admin pause/resume ...
#43297admin pause/resume ddl jobs
#43159Check List
Tests
Side effects
Documentation
Release note
Please refer to Release Notes Language Style Guide to write a quality release note.